<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
    <base href="<%=basePath%>">
    <meta charset="utf-8"/>
    <title></title>
    <link href="static/css/bootstrap.min.css" rel="stylesheet"/>
    <script src='static/js/jquery-2.1.3.min.js'></script>
    <script type="text/javascript" src="static/js/bootstrap-datepicker.min.js"></script>
    <script type="text/javascript" src="static/js/layer.js"></script>
    <script src='static/js/commonJs.js${getTime}'></script>
    <script type="text/javascript">
        $(top.hangge());
        $(function () {
            $("input[placeholder]").css({
                "font-size": "14px", "padding": "4px 6px", "color": "#000", "width": "100px"
            });
            //日期框
            $('.date-picker').datepicker();
        });
        $(document).ready(function () {
            $("#callLoanNid1").val(get1("callLoanNid", ""))
            $("#contIdCard1").val(get1("contIdCard", ""))
            $("#realName1").val(get1("realName", ""))
            $("#borrowNid1").val(get1("borrowNid", ""))
            $("#overdueDuration1").val(get1("overdueDuration", ""))
            $("#productSource1").val(get1("productSource", ""))
            $("#productSourceId").val(get1("productSourceId", ""))
            $("#overdueDateMin1").val(get1("overdueDateMin", ""))
            $("#overdueDateMax1").val(get1("overdueDateMax", ""))
            $("#repaymentId1").val(get1("repaymentId", ""))
            $("#callResult1").val(get1("callResult", ""))
            $("#sortFindByAmount1").val(get1("sortFindByAmount", ""))
            $("#sortFindByDay1").val(get1("sortFindByDay", ""))

            $("#sortFindBylastcalltime1").val(get1("sortFindBylastcalltime", ""))

            $("#huankuanDayMin1").val(get1("huankuanDayMin", ""))
            $("#huankuanDayMax1").val(get1("huankuanDayMax", ""))
            $("#overdueAmountMax1").val(get1("overdueAmountMax", ""))
            $("#overdueAmountMin1").val(get1("overdueAmountMin", ""))
            $("#callUser1").val(get1("callUser", ""))
            $("#overdueFeeMin1").val(get1("overdueFeeMin", ""))
            $("#overdueFeeMax1").val(get1("overdueFeeMax", ""))
            $("#ruanDayMin1").val(get1("ruanDayMin", ""))
            $("#ruanDayMax1").val(get1("ruanDayMax", ""))
            $("#callTimeMin1").val(get1("callTimeMin", ""))
            $("#callTimeMax1").val(get1("callTimeMax", ""))
            $("#lastCallTimeMin1").val(get1("lastCallTimeMin", ""))
            $("#lastCallTimeMax1").val(get1("lastCallTimeMax", ""))
            $("#telephone1").val(get1("telephone", ""))
        });

        function set1(key, value) {
            window.localStorage[key] = value;
        }

        function get1(key, defaultValue) {
            return window.localStorage[key] || defaultValue;
        }

        function remove(key) {
            window.localStorage.removeItem(key);
        }

        function chaxun() {
            console.log("执行查询")
            set1("callLoanNid", $("#callLoanNid1").val())
            set1("contIdCard", $("#contIdCard1").val())
            set1("realName", $("#realName1").val())
            set1("borrowNid", $("#borrowNid1").val())
            set1("overdueDuration", $("#overdueDuration1").val())
            set1("productSource", $("#productSource1").val())
            set1("productSourceId", $("#productSourceId").val())
            set1("overdueDateMin", $("#overdueDateMin1").val())
            set1("overdueDateMax", $("#overdueDateMax1").val())
            set1("repaymentId", $("#repaymentId1").val())
            set1("callResult", $("#callResult1").val())
            set1("huankuanDayMin", $("#huankuanDayMin1").val())
            set1("huankuanDayMax", $("#huankuanDayMax1").val())
            set1("overdueAmountMax", $("#overdueAmountMax1").val())
            set1("overdueAmountMin", $("#overdueAmountMin1").val())
            set1("callUser", $("#callUser1").val())
            set1("overdueFeeMin", $("#overdueFeeMin1").val())
            set1("overdueFeeMax", $("#overdueFeeMax1").val())
            set1("ruanDayMin", $("#ruanDayMin1").val())
            set1("ruanDayMax", $("#ruanDayMax1").val())
            set1("callTimeMin", $("#callTimeMin1").val())
            set1("callTimeMax", $("#callTimeMax1").val())
            set1("lastCallTimeMin", $("#lastCallTimeMin1").val())
            set1("lastCallTimeMax", $("#lastCallTimeMax1").val())
            set1("telephone", $("#telephone1").val())
            $("#sortFindByDay1").val("")
            $("#sortFindByAmount1").val("")
            $("#sortFindBylastcalltime1").val("")
            set1("sortFindByDay", "");
            set1("sortFindByAmount", "");
            set1("sortFindBylastcalltime", "");
            $("#pageForm").submit();
        }

        function biaoji() {
            console.log("执行标记")
            var objs = document.getElementsByName('callLoan')
            var idPros = new Array();
            var idPros1 = new Array();
            for (var i = 0; i < objs.length; i++) {
                console.log($("#" + objs[i].id).attr("mark"))
                if (objs[i].checked == true && $("#" + objs[i].id).attr("mark") == "0") {
                    idPros.push(objs[i].id);
                }
                if (objs[i].checked == true && $("#" + objs[i].id).attr("mark") == "1") {
                    idPros1.push(objs[i].id);
                }
            }
            $("#proArr").val(idPros)
            $("#proArr1").val(idPros1)
            $.ajax({
                type: "POST",
                dataType: "json",
                url: "cuijimanage/remark.do",
                data: $("#pageForm").serialize(),
                success: function (data) {
                    console.log("返回值data：" + data.num);
                    if (data.num != 0) {
                        console.log("标记成功");
                        window.location.reload()
                    } else {
                        console.log("标记失败");
                    }
                },
            });
        }

        // 全选事件
        function quanxuan1() {
            console.log("quanxuanshijian")
            if ($("#quanxuan").get(0).checked) {
                var objs = document.getElementsByName('callLoan')
                for (var i = 0; i < objs.length; i++) {
                    objs[i].checked = true;
                }
            } else {
                var objs = document.getElementsByName('callLoan')
                for (var i = 0; i < objs.length; i++) {
                    objs[i].checked = false;
                }
            }
        }

        //function toDetail(callLoanNid,userId,borrowNid){
        // window.location="http://cuijimanage/toDescPage.do?callLoanNid="+callLoanNid+"&userId="+userId+"&borrowNid="+borrowNid;
        // }
        function sortchaxunbyamount(a) {
            set1("callLoanNid", $("#callLoanNid1").val())
            set1("contIdCard", $("#contIdCard1").val())
            set1("realName", $("#realName1").val())
            set1("borrowNid", $("#borrowNid1").val())
            set1("overdueDuration", $("#overdueDuration1").val())
            set1("productSource", $("#productSource1").val())
            set1("productSourceId", $("#productSourceId").val())
            set1("overdueDateMin", $("#overdueDateMin1").val())
            set1("overdueDateMax", $("#overdueDateMax1").val())
            set1("repaymentId", $("#repaymentId1").val())
            set1("callResult", $("#callResult1").val())
            set1("overdueAmountMax", $("#overdueAmountMax1").val())
            set1("overdueAmountMin", $("#overdueAmountMin1").val())
            set1("huankuanDayMin", $("#huankuanDayMin1").val())
            set1("huankuanDayMax", $("#huankuanDayMax1").val())
            set1("callUser", $("#callUser1").val())
            set1("overdueFeeMin", $("#overdueFeeMin1").val())
            set1("overdueFeeMax", $("#overdueFeeMax1").val())
            set1("ruanDayMin", $("#ruanDayMin1").val())
            set1("ruanDayMax", $("#ruanDayMax1").val())
            set1("callTimeMin", $("#callTimeMin1").val())
            set1("callTimeMax", $("#callTimeMax1").val())
            set1("lastCallTimeMin", $("#lastCallTimeMin1").val())
            set1("lastCallTimeMax", $("#lastCallTimeMax1").val())
            set1("telephone", $("#telephone1").val())
            if (a == 1) {
                $("#sortFindByAmount1").val("0")
            } else {
                $("#sortFindByAmount1").val("1")
            }
            $("#sortFindByDay1").val("")
            $("#sortFindBylastcalltime1").val("")
            set1("sortFindByAmount", $("#sortFindByAmount1").val());
            set1("sortFindByDay", "");
            set1("sortFindBylastcalltime", "");
            $("#pageForm").submit();
        }

        function sortchaxunbyday(a) {
            set1("callLoanNid", $("#callLoanNid1").val())
            set1("contIdCard", $("#contIdCard1").val())
            set1("realName", $("#realName1").val())
            set1("borrowNid", $("#borrowNid1").val())
            set1("overdueDuration", $("#overdueDuration1").val())
            set1("productSource", $("#productSource1").val())
            set1("productSourceId", $("#productSourceId").val())
            set1("overdueDateMin", $("#overdueDateMin1").val())
            set1("overdueDateMax", $("#overdueDateMax1").val())
            set1("repaymentId", $("#repaymentId1").val())
            set1("callResult", $("#callResult1").val())
            set1("overdueAmountMax", $("#overdueAmountMax1").val())
            set1("overdueAmountMin", $("#overdueAmountMin1").val())
            set1("huankuanDayMin", $("#huankuanDayMin1").val())
            set1("huankuanDayMax", $("#huankuanDayMax1").val())
            set1("callUser", $("#callUser1").val())
            set1("overdueFeeMin", $("#overdueFeeMin1").val())
            set1("overdueFeeMax", $("#overdueFeeMax1").val())
            set1("ruanDayMin", $("#ruanDayMin1").val())
            set1("ruanDayMax", $("#ruanDayMax1").val())
            set1("callTimeMin", $("#callTimeMin1").val())
            set1("callTimeMax", $("#callTimeMax1").val())
            set1("lastCallTimeMin", $("#lastCallTimeMin1").val())
            set1("lastCallTimeMax", $("#lastCallTimeMax1").val())
            set1("telephone", $("#telephone1").val())
            if (a == 1) {
                $("#sortFindByDay1").val("0")
            } else {
                $("#sortFindByDay1").val("1")
            }
            $("#sortFindByAmount1").val("")
            $("#sortFindBylastcalltime1").val("")
            set1("sortFindByDay", $("#sortFindByDay1").val())
            set1("sortFindByAmount", "")
            set1("sortFindBylastcalltime", "")
            $("#pageForm").submit();
        }
        function sortbylasttime(a) {
            set1("callLoanNid", $("#callLoanNid1").val())
            set1("contIdCard", $("#contIdCard1").val())
            set1("realName", $("#realName1").val())
            set1("borrowNid", $("#borrowNid1").val())
            set1("overdueDuration", $("#overdueDuration1").val())
            set1("productSource", $("#productSource1").val())
            set1("productSourceId", $("#productSourceId").val())
            set1("overdueDateMin", $("#overdueDateMin1").val())
            set1("overdueDateMax", $("#overdueDateMax1").val())
            set1("repaymentId", $("#repaymentId1").val())
            set1("callResult", $("#callResult1").val())
            set1("overdueAmountMax", $("#overdueAmountMax1").val())
            set1("overdueAmountMin", $("#overdueAmountMin1").val())
            set1("huankuanDayMin", $("#huankuanDayMin1").val())
            set1("huankuanDayMax", $("#huankuanDayMax1").val())
            set1("callUser", $("#callUser1").val())
            set1("overdueFeeMin", $("#overdueFeeMin1").val())
            set1("overdueFeeMax", $("#overdueFeeMax1").val())
            set1("ruanDayMin", $("#ruanDayMin1").val())
            set1("ruanDayMax", $("#ruanDayMax1").val())
            set1("callTimeMin", $("#callTimeMin1").val())
            set1("callTimeMax", $("#callTimeMax1").val())
            set1("lastCallTimeMin", $("#lastCallTimeMin1").val())
            set1("lastCallTimeMax", $("#lastCallTimeMax1").val())
            set1("telephone", $("#telephone1").val())
            if (a == 1) {
                $("#sortFindBylastcalltime1").val("0")
            } else {
                $("#sortFindBylastcalltime1").val("1")
            }
            $("#sortFindByAmount1").val("")
            $("#sortFindByDay1").val("")
            set1("sortFindBylastcalltime", $("#sortFindBylastcalltime1").val())
            set1("sortFindByAmount", "")
            set1("sortFindByDay", "")
            $("#pageForm").submit();
        }
        function clean() {
            console.log("执行清空")
            $("#callLoanNid1").val("")
            $("#contIdCard1").val("")
            $("#realName1").val("")
            $("#borrowNid1").val("")
            $("#overdueDuration1").val("")
            $("#productSource1").val("")
            $("#productSourceId").val("")
            $("#overdueDateMin1").val("")
            $("#overdueDateMax1").val("")
            $("#repaymentId1").val("")
            $("#callResult1").val("")
            $("#sortFindByAmount1").val("")
            $("#sortFindByDay1").val("")
            $("#sortFindBylastcalltime1").val("")
            $("#huankuanDayMin1").val("")
            $("#huankuanDayMax1").val("")
            $("#overdueAmountMax1").val("")
            $("#overdueAmountMin1").val("")
            $("#callUser1").val("")
            $("#overdueFeeMin1").val("")
            $("#overdueFeeMax1").val("")
            $("#ruanDayMin1").val("")
            $("#ruanDayMax1").val("")
            $("#telephone1").val("")
            $("#callTimeMin1").val("")
            $("#callTimeMax1").val("")
            $("#lastCallTimeMin1").val("")
            $("#lastCallTimeMax1").val("")
            set1("callLoanNid", "")
            set1("contIdCard", "")
            set1("realName", "")
            set1("borrowNid", "")
            set1("overdueDuration", "")
            set1("productSource", "")
            set1("productSourceId", "")
            set1("overdueDateMin", "")
            set1("overdueDateMax", "")
            set1("repaymentId", "")
            set1("callResult", "")
            set1("overdueAmountMax", "")
            set1("overdueAmountMin", "")
            set1("huankuanDayMin", "")
            set1("huankuanDayMax", "")
            set1("callUser", "")
            set1("overdueFeeMin", "")
            set1("overdueFeeMax", "")
            set1("ruanDayMin", "")
            set1("ruanDayMax", "")
            set1("callTimeMin", "")
            set1("callTimeMax", "")
            set1("lastCallTimeMin", "")
            set1("lastCallTimeMax", "")
            set1("telephone", "")
        }
    </script>
    <style>
        .divcss5 {
            width: 100px;
            height: 20px;
        }

         
    </style>

</head>
<body>
<div style="width: 2000px">
    <hr style="height:1px;border:none;border-top:1px groove ghostwhite;">
    <form action="<%=basePath%>/cuijimanage/anjianList.do" method="post" name="pageForm" id="pageForm">
        <input type="hidden" id="proArr" name="ids">
        <input type="hidden" id="status1" name="status">
        <input type="hidden" id="proArr1" name="ids1">
        <input type="hidden" id="sortFindByAmount1" name="sortFindByAmount">
        <input type="hidden" id="sortFindByDay1" name="sortFindByDay">
        <input type="hidden" id="sortFindBylastcalltime1" name="sortFindBylastcalltime">

        <div style="width: 1800px;margin-left: 20px;">
            <table>
                <tr>
                    <td>
                        <div class="pull-left search " style="text-align: center;margin-left: 20px;">
                            <div class="pull-left search " style="text-align: center;margin-left: 10px;">
                                <label class="">借款产品:</label>
                            </div>
                            <div class="pull-left search" style="margin-left: 10px;">
                                <select class="form-control " name="productSource" id="productSource1"
                                        style="font-size: 15px;padding: 2px 3px;color: #000;width: 125px;">
                                    <option value="0">不限</option>
                                    <option value="2" psId="182180001">今日现金</option>
                                    <option value="6" psId="186180001">卡贷</option>
                                    <option value="39" psId="1839180001">融360</option>
                                    <option value="41" psId="1841180001">消费分期</option>
                                    <option value="43" psId="1843180001">游戏贷</option>
                                    <option value="8" psId="188180001">教育分期</option>
                                    <option value="45" psId="1839180002">游戏贷融360</option>
                                </select>
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="pull-left search " style="text-align: center;margin-left: 20px;">
                            <div class="pull-left search " style=" text-align: center;margin-left: 10px;">
                                <label class="">入案时间:</label>
                            </div>
                            <div class="pull-left search" style="margin-left: 10px;">
                                <input class="form-control date-picker" data-date-format="yyyy-mm-dd"
                                       style="width:100px;height:20px;display:inline" type="text" name="ruanDayMin"
                                       id="ruanDayMin1">-
                                <input class="form-control date-picker" data-date-format="yyyy-mm-dd"
                                       style="width:100px;height:20px;display:inline" type="text" name="ruanDayMax"
                                       id="ruanDayMax1">
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="pull-left search " style="text-align: center;margin-left: 20px;">
                            <div class="pull-left search " style=" text-align: center;margin-left: 10px;">
                                <label class="">分派时间:</label>
                            </div>
                            &nbsp; &nbsp; &nbsp;
                            <div class="pull-left search" style="margin-left: 10px;">
                                <input class="form-control date-picker" data-date-format="yyyy-mm-dd"
                                       style="width:100px;height:20px;display:inline" type="text" name="callTimeMin"
                                       id="callTimeMin1">-
                                <input class="form-control date-picker" data-date-format="yyyy-mm-dd"
                                       style="width:100px;height:20px;display:inline" type="text" name="callTimeMax"
                                       id="callTimeMax1">
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="pull-left search " style="text-align: center;margin-left: 20px;">
                            <div class="pull-left search " style=" text-align: center;margin-left: 10px;">
                                <label class="">还款日期:</label>
                            </div>
                            <div class="pull-left search" style="margin-left: 10px;">
                                <input class="form-control date-picker" data-date-format="yyyy-mm-dd"
                                       style="width:100px;height:20px;display:inline" type="text" name="huankuanDayMin"
                                       id="huankuanDayMin1">-
                                <input class="form-control date-picker" data-date-format="yyyy-mm-dd"
                                       style="width:100px;height:20px;display:inline" type="text" name="huankuanDayMax"
                                       id="huankuanDayMax1">
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="pull-left search " style="text-align: center;margin-left: 20px;">
                            <div class="pull-left search " style="text-align: center;margin-left: 10px;">
                                <label class="">逾期阶段:</label>
                            </div>
                            <div class="pull-left search" style="margin-left: 10px;">
                                <select class="form-control " name="overdueDuration" id="overdueDuration1"
                                        style="font-size: 15px;padding: 2px 3px;color: #000;width: 125px;">
                                    <option value="0">不限</option>
                                    <option value="S1">S1</option>
                                    <option value="S2">S2</option>
                                    <option value="S2+">S2+</option>
                                    <option value="M1">M1</option>
                                    <option value="M2">M2</option>
                                    <option value="M3">M3</option>
                                    <option value="M3+">M3+</option>
                                </select>
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="pull-left search " style="text-align: center;margin-left: 20px;">
                            <div class="pull-left search " style="text-align: center;margin-left: 10px;">
                                <label class="">逾期天数:&nbsp;</label>
                            </div>
                            <div class="pull-left search" style="margin-left: 10px;">
                                <input class="form-control divcss5" type="text" name="overdueDateMin"
                                       id="overdueDateMin1">-
                                <input class="form-control divcss5" type="text" name="overdueDateMax"
                                       id="overdueDateMax1">
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="pull-left search " style="text-align: center;margin-left: 20px;">
                            <div class="pull-left search " style=" text-align: center;margin-left: 10px;">
                                <label class="">待还金额:</label>
                            </div>
                            <div class="pull-left search" style="margin-left: 10px;">
                                <input class="form-control" style="width:100px;height:20px;display:inline" type="text"
                                       name="overdueAmountMin" id="overdueAmountMin1">-
                                <input class="form-control" style="width:100px;height:20px;display:inline" type="text"
                                       name="overdueAmountMax" id="overdueAmountMax1">
                            </div>
                        </div>

                    </td>
                    <td>
                        <div class="pull-left search " style="text-align: center;margin-left: 20px;">
                            <div class="pull-left search " style="text-align: center;margin-left: 10px;">
                                <label class="">未还罚息:&nbsp;</label>
                            </div>
                            <div class="pull-left search" style="margin-left: 10px;">
                                <input class="form-control divcss5" type="text" name="overdueFeeMin" id="overdueFeeMin1"
                                       style="margin-left: -4px ;width:100px;height:20px;display:inline" type="text">-
                                <input class="form-control divcss5" type="text" name="overdueFeeMax" id="overdueFeeMax1"
                                       style="width:100px;height:20px;display:inline" type="text">
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="pull-left search " style="text-align: center;margin-left: 20px;">
                            <div class="pull-left search " style="text-align: center;margin-left: 10px;">
                                <label class="">催收结果:</label>
                            </div>
                            <div class="pull-left search" style="margin-left: 10px;">
                                <select class="form-control " name="callResult" id="callResult1"
                                        style="font-size: 15px;padding: 2px 3px;color: #000;width: 125px;">
                                    <option value="-1">不限</option>
                                    <c:forEach var="callResult" varStatus="var" items="${callresulttypef}">
                                        <option value="${callResult.key}">${callResult.value}</option>
                                    </c:forEach>
                                 <%--   <option value="0">已还清</option>
                                    <option value="1">承诺还款</option>
                                    <option value="2">客户死亡</option>
                                    <option value="3">失联</option>
                                    <option value="4">查找中</option>
                                    <option value="5">跳票</option>
                                    <option value="6">新案件</option>
                                    <option value="7">暂停催收</option>
                                    <option value="8">关机</option>
                                    <option value="9">空号</option>
                                    <option value="10">沟通中</option>--%>
                                </select>
                            </div>

                        </div>
                    </td>
                    <td>
                        <div class="pull-left search " style="text-align: center;margin-left: 30px;">催收员:</div>
                        <div class="pull-left search" style="margin-left: 25px;">
                            <input class="form-control divcss5" type="text" name="callUser" id="callUser1" placeholder="">
                        </div>
                    </td>
                    <td>
                        <div class="pull-left search " style="text-align: center;margin-left: 20px;">
                            <div class="pull-left search " style=" text-align: center;margin-left: 10px;">
                                <label class="">最后催收时间:</label>
                            </div>
                            &nbsp; &nbsp; &nbsp;
                            <div class="pull-left search" style="margin-left: 10px;">
                                <input class="form-control date-picker" data-date-format="yyyy-mm-dd"
                                       style="width:100px;height:20px;display:inline" type="text" name="lastCallTimeMin"
                                       id="lastCallTimeMin1">-
                                <input class="form-control date-picker" data-date-format="yyyy-mm-dd"
                                       style="width:100px;height:20px;display:inline" type="text" name="lastCallTimeMax"
                                       id="lastCallTimeMax1">
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
            <div class="pull-left" style="margin-left: 20px;">自定义项:
                <input class="form-control divcss5" type="text" name="telephone" id="telephone1" placeholder="手机号">
            </div>
            <div class="pull-left search" style="margin-left: 10px;">
                <input class="form-control divcss5" type="text" name="contIdCard" id="contIdCard1" placeholder="借款人身份证">
            </div>
            <%--新加借款人姓名,借款编号--%>
            <div class="pull-left search" style="margin-left: 10px;">
                <input class="form-control divcss5" type="text" name="realName" id="realName1" placeholder="借款人姓名">
            </div>
            <div class="pull-left search" style="margin-left: 10px;">
                <input class="form-control divcss5" type="text" name="borrowNid" id="borrowNid1" placeholder="借款编号">
            </div>
            <%--结束--%>
            <div class="pull-left search" style="margin-left: 10px;">
                <input type="text" name="callLoanNid" id="callLoanNid1" class="form-control divcss5 "
                       placeholder="催收编号">
            </div>
            <div class="pull-left search" style="margin-left: 10px;">
                <input class="form-control divcss5" type="text" name="repaymentId" id="repaymentId1"
                       placeholder="还款订单号">
            </div>


        </div>
    </form>
    <br>
    <%--<div style="text-align:left;margin-top: 70px;width:450px" align="right">--%>
    <div style="text-align:left;width:450px;margin-left:38px;padding-top:13px" align="right";>
        <button id="chaxun" class="btn btn-primary" onclick="chaxun()">查询</button> &nbsp; &nbsp; &nbsp;
        <button id="clear" class="btn btn-primary" onclick="clean()">清空</button> &nbsp; &nbsp; &nbsp;
        <button id="biaoji" class="btn btn-primary" onclick="biaoji()">标记</button>
    </div>
    <hr style="height:1px;border:none;border-top:1px groove ghostwhite;">
    <table class="table table-hover dataTable" border="1px" bordercolor="gainsboro" style="margin-left: 20px;"
           width="2000px">
        <thead>
        <tr height="35px" align="center">
            <th width="4%" align="center"><input id="quanxuan" type="checkbox" onclick="quanxuan1()"
                                                 style="position:relative;opacity:100;"></th>
            <th width="5%">催收编号</th>

            <th width="4%">借款人姓名</th>
            <!-- <th width="9%">借款人身份证</th>
            <th width="6%">手机号</th> -->
            <th width="7%">借款产品名称</th>
            <th width="4%">逾期期数</th>
            <th width="5%">
                <button id="overAmountOrd1" onclick="sortchaxunbyday('${sortFindByday}');"> 逾期天数</button>
            </th>
            <th width="5%">
                <button id="overAmountOrd" onclick="sortchaxunbyamount('${sortFindByamount}');">待还金额</button>
            </th>
            <th width="4%">逾期阶段</th>
            <th width="4%">催收员</th>
            <th width="8%">
                <button id="lastcalltime" onclick="sortbylasttime('${sortFindBylasttime}');">最后催收时间</button>
            </th>
            <th width="8%">分派时间</th>
            <th width="4.5%">催收结果</th>
            <th width="4.5%">催收方式</th>
            <th width="6%">承诺还款日期</th>
            <th width="8%">入案时间</th>
            <th width="5%">还款订单号</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach var="anjian" varStatus="var" items="${anjianlist }">
        <tr align="center" height="40px" <c:if test="${anjian.callMark==1}">bgcolor="red"</c:if>>
            <td align="center"><input id="${anjian.callLoanNid}" mark="${anjian.callMark}" name="callLoan"
                                      type="checkbox" style="position:relative;opacity:100;"></td>
            <td>
                <%--<a href="cuijimanage/toDescPage.do?callLoanNid=${anjian.callLoanNid}&userId=${anjian.userId}&repaymentId=${anjian.repaymentId}"
                   style="color: blue">
                        ${anjian.callLoanNid}
                </a>--%>
                <a href="javascript:void(0)" onclick="$.tiaozhuan(this,'${anjian.callLoanNid}','${anjian.userId}','${anjian.repaymentId}','${anjian.realName}','zhong')"
                   style="color: blue">
                        ${anjian.callLoanNid}
                </a>
            </td>

            <td>${anjian.realName}</td>
            <%-- <td>${anjian.contIdCard}</td>
            <td>${anjian.telephone}</td> --%>
            <td>${anjian.productName}</td>
            <td>${anjian.period}/${anjian.periodTotal}</td>
            <td>${anjian.overdueDate}</td>
            <td>${anjian.overdueAmount}</td>
            <td>${anjian.overdueDuration}</td>
            <td>${anjian.name}</td>
            <td><fmt:formatDate value="${anjian.lastCallTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
            <td><fmt:formatDate value="${anjian.callTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
            <td>
                <c:forEach var="callResult" varStatus="var" items="${callresulttypef}">
                    <c:if test="${callResult.key eq anjian.callResult}">
                        ${callResult.value}
                    </c:if>
                </c:forEach>
            </td>
            <td>
                <c:if test="${anjian.callType==1}">电话</c:if>
                <c:if test="${anjian.callType==2}">网络</c:if>
                <c:if test="${anjian.callType==3}">短信</c:if>
                <c:if test="${anjian.callType==4}">线下面催</c:if>
                <c:if test="${anjian.callType==5}">其他</c:if>
            </td>
            <td>
                <fmt:formatDate value="${anjian.promiseRepaymentDay}" pattern="yyyy-MM-dd"/>
            </td>
            <td>
                <fmt:formatDate value="${anjian.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
            </td>
            <td>${anjian.repaymentId}</td>
            </c:forEach>
        </tbody>
    </table>
    <div class="page-header position-relative">
        <span>${countMoney}</span>
        <table style="width: 100%;">
            <tr>
                <td style="vertical-align: top;">
                    <div class="pagination"
                         style="float: right; padding-top: 0px; margin-top: 0px;">${page.pageStr}

                    </div>
                </td>
            </tr>
        </table>
    </div>
</div>
</body>
</html>
